package com.example.myhotel.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.myhotel.entity.Rooms;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RoomsMapper extends BaseMapper<Rooms>{
    @Select("select * from rooms")
    public List<Rooms> getRooms();

}
